home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3c / mld.z / mld
Encoding:
Text File  |  2002-10-03  |  11.8 KB  |  199 lines

  1.  
  2.  
  3.  
  4. mmmmlllldddd((((3333))))                                                                  mmmmlllldddd((((3333))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      mld_create, mld_destroy, process_mldlink, process_cpulink, numa_acreate -
  10.      memory locality domain operations
  11.  
  12. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.      ####iiiinnnncccclllluuuuddddeeee <<<<ssssyyyyssss////ttttyyyyppppeeeessss....hhhh>>>>
  14.      ####iiiinnnncccclllluuuuddddeeee <<<<ssssyyyyssss////ppppmmmmoooo....hhhh>>>>
  15.  
  16.      ppppmmmmoooo____hhhhaaaannnnddddlllleeee____tttt mmmmlllldddd____ccccrrrreeeeaaaatttteeee((((iiiinnnntttt rrrraaaaddddiiiiuuuussss,,,, lllloooonnnngggg ssssiiiizzzzeeee))))
  17.  
  18.      iiiinnnntttt mmmmlllldddd____ddddeeeessssttttrrrrooooyyyy((((ppppmmmmoooo____hhhhaaaannnnddddlllleeee____tttt mmmmlllldddd____hhhhaaaannnnddddlllleeee))))
  19.  
  20.      iiiinnnntttt pppprrrroooocccceeeessssssss____mmmmllllddddlllliiiinnnnkkkk((((ppppiiiidddd____tttt ppppiiiidddd,,,, ppppmmmmoooo____hhhhaaaannnnddddlllleeee____tttt mmmmlllldddd____hhhhaaaannnnddddlllleeee,,,, rrrrqqqqmmmmooooddddeeee____tttt rrrrqqqqmmmmooooddddeeee))))
  21.  
  22.      iiiinnnntttt pppprrrroooocccceeeessssssss____ccccppppuuuulllliiiinnnnkkkk((((ppppiiiidddd____tttt ppppiiiidddd,,,, ppppmmmmoooo____hhhhaaaannnnddddlllleeee____tttt mmmmlllldddd____hhhhaaaannnnddddlllleeee,,,, ccccppppuuuuiiiidddd____tttt llllccccppppuuuuiiiidddd,,,, rrrrqqqqmmmmooooddddeeee____tttt rrrrqqqqmmmmooooddddeeee))))
  23.  
  24.      vvvvooooiiiidddd**** nnnnuuuummmmaaaa____aaaaccccrrrreeeeaaaatttteeee((((ppppmmmmoooo____hhhhaaaannnnddddlllleeee____tttt mmmmlllldddd,,,, ssssiiiizzzzeeee____tttt aaaarrrreeeennnnaaaa____ssssiiiizzzzeeee,,,, ssssiiiizzzzeeee____tttt ppppaaaaggggeeee____ssssiiiizzzzeeee))))
  25.  
  26.  
  27. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  28.      _mmmm_llll_dddd______cccc_rrrr_eeee_aaaa_tttt_eeee creates a memory locality domain. The argument _r_a_d_i_u_s is not
  29.      currently used and is normally zero. The argument _s_i_z_e is a hint
  30.      specifying approximately how much physical memory in bytes will be
  31.      required for this MLD. If this argument is set to MMMMLLLLDDDD____DDDDEEEEFFFFAAAAUUUULLLLTTTTSSSSIIIIZZZZEEEE then at
  32.      the time of mld placement the kernel will make an estimate of the memory
  33.      to be used based on the current total address space in use by the process
  34.      and the number of mlds.
  35.  
  36.      _mmmm_llll_dddd______dddd_eeee_ssss_tttt_rrrr_oooo_yyyy destroys a memory locality domain.
  37.  
  38.      _pppp_rrrr_oooo_cccc_eeee_ssss_ssss______mmmm_llll_dddd_llll_iiii_nnnn_kkkk attaches a process to an MLD. When a process is attached
  39.      to an MLD, the process scheduler tries to activate the process on a CPU
  40.      in the node where the MLD has been placed.
  41.  
  42.      _pppp_rrrr_oooo_cccc_eeee_ssss_ssss______cccc_pppp_uuuu_llll_iiii_nnnn_kkkk attaches a process to a specific CPU within the node that
  43.      the MLD is placed on. The CPU number is relative to the node, for example
  44.      on an Origin 3000 with a fully populated node the CPU numbering is 0-3.
  45.      On an Origin 2000 with a fully populated node, the CPU numbering is 0-1.
  46.      If a CPU is disabled on that node, then the CPU numbering is re-ordered
  47.      at boot time to always count up consecutively from 0. For example if an
  48.      Origin 3000 had a node with only 3 CPUs, the CPU numbering regardless of
  49.      which CPU is disabled would be 0,1,2.  This operation forces a process to
  50.      always run on the same CPU using `MP_MUSTRUN' (see sysmp(2)).
  51.  
  52.      _nnnn_uuuu_mmmm_aaaa______aaaa_cccc_rrrr_eeee_aaaa_tttt_eeee creates an arena for memory allocation on a specific MLD.
  53.  
  54.      _mmmm_llll_dddd______cccc_rrrr_eeee_aaaa_tttt_eeee will fail and a MLD will not be created if one or more of the
  55.      following are true:
  56.  
  57.      _EEEE_FFFF_AAAA_UUUU_LLLL_TTTT         Arguments could not be copied into kernel space.
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. mmmmlllldddd((((3333))))                                                                  mmmmlllldddd((((3333))))
  71.  
  72.  
  73.  
  74.      _EEEE_NNNN_OOOO_MMMM_EEEE_MMMM         No memory or kernel table space is available to create and
  75.                     hold the MLD.
  76.  
  77.      _EEEE_NNNN_OOOO_TTTT_SSSS_UUUU_PPPP        Memory locality domains are not supported on this system
  78.                     architecture.
  79.  
  80.      _mmmm_llll_dddd______dddd_eeee_ssss_tttt_rrrr_oooo_yyyy will fail and no MLD will be destroyed if one or more of the
  81.      following are true:
  82.  
  83.      _EEEE_IIII_NNNN_VVVV_AAAA_LLLL         The _mmmm_llll_dddd______hhhh_aaaa_nnnn_dddd_llll_eeee is invalid.
  84.  
  85.      _EEEE_NNNN_OOOO_TTTT_SSSS_UUUU_PPPP        Memory locality domains are not supported on this system
  86.                     architecture.
  87.  
  88.      _pppp_rrrr_oooo_cccc_eeee_ssss_ssss______mmmm_llll_dddd_llll_iiii_nnnn_kkkk will fail and the process will not be attached to an MLD
  89.      if one or more of the following are true:
  90.  
  91.      _EEEE_DDDD_EEEE_AAAA_DDDD_LLLL_KKKK        The operation would cause a deadlock to occur.
  92.  
  93.      _EEEE_IIII_NNNN_VVVV_AAAA_LLLL         The _mmmm_llll_dddd______hhhh_aaaa_nnnn_dddd_llll_eeee is invalid or does not exist.
  94.  
  95.      _EEEE_NNNN_OOOO_TTTT_SSSS_UUUU_PPPP        Memory locality domains are not supported on this system
  96.                     architecture.
  97.  
  98.      _EEEE_SSSS_RRRR_CCCC_HHHH          The specified _pppp_iiii_dddd does not exist.
  99.  
  100.      _EEEE_XXXX_DDDD_EEEE_VVVV          The MLD has not been placed. (Call _mmmm_llll_dddd_ssss_eeee_tttt______pppp_llll_aaaa_cccc_eeee_((((_3333_cccc_))))
  101.                     first.)
  102.  
  103.      _pppp_rrrr_oooo_cccc_eeee_ssss_ssss______cccc_pppp_uuuu_llll_iiii_nnnn_kkkk will fail and the process will not be attached to an MLD
  104.      if one or more of the following are true:
  105.  
  106.      _EEEE_DDDD_EEEE_AAAA_DDDD_LLLL_KKKK        The operation would cause a deadlock to occur.
  107.  
  108.      _EEEE_IIII_NNNN_VVVV_AAAA_LLLL         The specified mld_handle is invalid or does not exist.
  109.  
  110.      _EEEE_IIII_NNNN_VVVV_AAAA_LLLL         The cpulink is attempted on a CPU which was not present.
  111.  
  112.      _EEEE_IIII_NNNN_VVVV_AAAA_LLLL         The pid is part of a Pthreaded application, which is not
  113.                     supported by MP_MUSTRUN.
  114.  
  115.      _EEEE_IIII_NNNN_VVVV_AAAA_LLLL         The process is already resides on a 'mustrun' CPU and is
  116.                     not allowed to move to another CPU.
  117.  
  118.      _EEEE_NNNN_OOOO_TTTT_SSSS_UUUU_PPPP        Memory locality domains are not supported on this system
  119.                     architecture.
  120.  
  121.      _EEEE_PPPP_EEEE_RRRR_MMMM          The user does not have adequate permission to execute the
  122.                     sysmp(2) system call MP_MUSTRUN command.
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136. mmmmlllldddd((((3333))))                                                                  mmmmlllldddd((((3333))))
  137.  
  138.  
  139.  
  140.      _EEEE_PPPP_EEEE_RRRR_MMMM          The cpuset does not allow the process to run on the
  141.                     selected MLD and CPU.
  142.  
  143.      _EEEE_SSSS_RRRR_CCCC_HHHH          The specified _pppp_iiii_dddd does not exist.
  144.  
  145.      _EEEE_XXXX_DDDD_EEEE_VVVV          The MLD has not been placed. (Call _mmmm_llll_dddd_ssss_eeee_tttt______pppp_llll_aaaa_cccc_eeee_((((_3333_cccc_))))
  146.                     first.)
  147.  
  148.      _nnnn_uuuu_mmmm_aaaa______aaaa_cccc_rrrr_eeee_aaaa_tttt_eeee will fail and no memory arena will be created (and set
  149.      _eeee_rrrr_rrrr_nnnn_oooo) under the same circumstances that _aaaa_cccc_rrrr_eeee_aaaa_tttt_eeee_((((_2222_)))) will fail. It will
  150.      also fail and no memory arena will be created if one or more of the
  151.      following are true:
  152.  
  153.      _EEEE_FFFF_AAAA_UUUU_LLLL_TTTT         Arguments could not be copied into kernel space.
  154.  
  155.      _EEEE_IIII_NNNN_VVVV_AAAA_LLLL         The specified MLD is invalid.
  156.  
  157.      _EEEE_NNNN_OOOO_TTTT_SSSS_UUUU_PPPP        Memory locality domains are not supported on this system
  158.                     architecture.
  159.  
  160.      _EEEE_SSSS_RRRR_CCCC_HHHH          The specified MLD does not exist.
  161.  
  162. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  163.      acreate(2), numa(5), mmci(5), mldset(3c), pm(3c), amalloc(3p), sysmp(2),
  164.      migration(3c), pminfo(3c).
  165.  
  166. DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
  167.      Upon successful completion, _mmmm_llll_dddd______cccc_rrrr_eeee_aaaa_tttt_eeee returns a value of type
  168.      pmo_handle_t.  Otherwise, a value of -1 is returned and _e_r_r_n_o is set to
  169.      indicate the error.
  170.  
  171.      Upon successful completion, _mmmm_llll_dddd______dddd_eeee_ssss_tttt_rrrr_oooo_yyyy, _pppp_rrrr_oooo_cccc_eeee_ssss_ssss______mmmm_llll_dddd_llll_iiii_nnnn_kkkk, and
  172.      _pppp_rrrr_oooo_cccc_eeee_ssss_ssss______cccc_pppp_uuuu_llll_iiii_nnnn_kkkk return 0.  Otherwise, a value of -1 is returned and _e_r_r_n_o
  173.      is set to indicate the error.
  174.  
  175.      Upon successful completion, _nnnn_uuuu_mmmm_aaaa______aaaa_cccc_rrrr_eeee_aaaa_tttt_eeee returns a pointer to the memory
  176.      arena which has been created.  Otherwise NULL will be returned and _e_r_r_n_o
  177.      is set to indicate the error.
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.                                                                         PPPPaaaaggggeeee 3333
  196.  
  197.  
  198.  
  199.